import request from '@/api/request'

// homeCategory导航数据获取
function getHomeCategoryInfo(data) {
    return request({
        url: '/category/categoryNav',
        method: 'GET',
        data,
    })
}
// 请求分类子页列表数据
function getHomeSubListInfo(data) {
    return request({
        url: '/goods/goodsList',
        method: 'GET',
        data,
    })
}

export { getHomeSubListInfo, getHomeCategoryInfo }
